import Vue from 'vue';
import Vuex from 'vuex';

// Vuex is auto installed on the web
if (WXEnvironment.platform !== 'Web') {
  Vue.use(Vuex);
}

const store = new Vuex.Store({
  state: {
    msg: 'vuex test',
  },
});
